using CoreLibrary.JsonNet;
using Newtonsoft.Json;

namespace CoreLibrary.Email.Impl.Mandrill {

    public class ErrorMessage {
        
        [JsonProperty(PropertyName = "code")]    public int    Code;
        [JsonProperty(PropertyName = "status")]  public string Status;
        [JsonProperty(PropertyName = "name")]    public string Name;
        [JsonProperty(PropertyName = "message")] public string Message;

	    public override string ToString() {
	        return JSON.Serialize(this);
	    }

    }

}